<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动元素搭配标准流父盒子1</title>
</head>
<style>
    .box {
        width: 1200px;
        height: 460px;
        background-color: aqua;
        margin: 0 auto;
    }

    .left {
        float: left;
        width: 230px;
        height: 460px;
        background-color: bisque;
    }

    .right {
        float: left;
        width: 970px;
        height: 460px;
        background-color: blueviolet;
    }
</style>

<body>
    <!-- .box -->
    <div class="box">
        <!-- .left+.right -->
        <div class="left">左侧</div>
        <div class="right">右侧</div>
    </div>
</body>

</html>